public class MinTest {
    public static void main(String[] args) {
        double num1 = 3.3;
        double num2 = 2.2;
        double min = findMin(num1, num2);
        System.out.println("较小值为: " + min);
    }

    public static double findMin(double num1, double num2) {
        return Math.min(num1, num2);
    }
}
